#pragma once

#include "CService.h"
#include <stdint.h>

enum
{
	NODE_NETWORK = (1 << 0),
};

class CAddress : public CService
{
public:
	CAddress();
	explicit CAddress(CService ipIn, uint64_t nServicesIn=NODE_NETWORK);

	void Init();


public:
	
	uint64_t nServices;

	//fromsrc: disk and network only
	unsigned int nTime;

	//fromsrc: memory onl
	int64_t nLastTry;


};
